package com.zq.solution.treenode;

/**
 * @ClassName TreeNode
 * @Description 定义二叉树的数据结构
 * @Author ZQ
 * @Date 2020/11/3 17:31
 * @Version V1.0
 **/
public class TreeNode<T> {
    public T val;
    public TreeNode<T> left,right;
    public TreeNode(T x) {
        this.val = x;
        this.left = this.right = null;
    }
}
